-
Home
-
JCH Optimize
-
5.0.0 (latest)
-
Code
-
Classes
- ImageAttributes
Total Complexity |
36 |
Dependencies |
15 |
Dependents |
2 |
Total lines |
178 |
Lines of code |
122 |
Logical lines of code |
71 |
Comment lines |
1 |
Methods |
11 |
Properties |
3 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validateImage() |
A |
50 |
10 |
28 |
addWidthHeightAttributes() |
S |
54 |
6 |
22 |
addOtherAttrByAspectRatio() |
S |
57 |
4 |
16 |
getImageAttributes() |
S |
61 |
3 |
13 |
getUriFromImageObj() |
S |
67 |
3 |
8 |
addAttrFromExistingAttr() |
S |
64 |
3 |
10 |
cleanAttrValue() |
S |
67 |
2 |
7 |
loadImageAttributesCss() |
S |
66 |
2 |
9 |
__construct() |
S |
78 |
1 |
3 |
addHeightAttributeFromWidth() |
S |
80 |
1 |
3 |
addWidthAttributeFromHeight() |
S |
80 |
1 |
3 |